package com.ruoyi.inventory.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 调拨对象 t_inventory_allot
 * 
 * @author cy
 * @date 2024-10-28
 */
public class TInventoryAllot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String document;

    /** 原仓库 */
    @Excel(name = "原仓库id")
    private Long primaryWarehouseId;

    /** 调拨仓库 */
    @Excel(name = "调拨仓库id")
    private Long allotWarehouseId;

    @Override
    public String toString() {
        return "TInventoryAllot{" +
                "id=" + id +
                ", document='" + document + '\'' +
                ", primaryWarehouseId=" + primaryWarehouseId +
                ", allotWarehouseId=" + allotWarehouseId +
                ", primaryWarehouse='" + primaryWarehouse + '\'' +
                ", allotWarehouse='" + allotWarehouse + '\'' +
                ", approveState=" + approveState +
                ", allotState=" + allotState +
                ", num=" + num +
                '}';
    }

    /** 原仓库 */
    @Excel(name = "原仓库名称")
    private String primaryWarehouse;

    /** 调拨仓库 */
    @Excel(name = "调拨仓库名称")
    private String allotWarehouse;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Long approveState;

    /** 调拨状态 */
    @Excel(name = "调拨状态")
    private Long allotState;

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getNum() {
        return num;
    }

    /** 订单数量 */
    @Excel(name = "订单数量")
    private Integer num;

    public void setPrimaryWarehouse(String primaryWarehouse) {
        this.primaryWarehouse = primaryWarehouse;
    }

    public void setAllotWarehouse(String allotWarehouse) {
        this.allotWarehouse = allotWarehouse;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getPrimaryWarehouse() {
        return primaryWarehouse;
    }

    public String getAllotWarehouse() {
        return allotWarehouse;
    }

    public Long getId()
    {
        return id;
    }
    public void setDocument(String document)
    {
        this.document = document;
    }

    public String getDocument()
    {
        return document;
    }
    public void setPrimaryWarehouseId(Long primaryWarehouseId)
    {
        this.primaryWarehouseId = primaryWarehouseId;
    }

    public Long getPrimaryWarehouseId()
    {
        return primaryWarehouseId;
    }
    public void setAllotWarehouseId(Long allotWarehouseId)
    {
        this.allotWarehouseId = allotWarehouseId;
    }

    public Long getAllotWarehouseId()
    {
        return allotWarehouseId;
    }
    public void setApproveState(Long approveState)
    {
        this.approveState = approveState;
    }

    public Long getApproveState()
    {
        return approveState;
    }
    public void setAllotState(Long allotState)
    {
        this.allotState = allotState;
    }

    public Long getAllotState()
    {
        return allotState;
    }

}